<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>demo</title>
</head>
<body>
	<div style="background:gray">
		 @include('update')
		 @section('left')
		 this is parent left
		 @show
	</div>

  	{{$score}}
  	@if($score >= 80)
  		优秀
  	@elseif($score >= 60)
  		及格
  	@else
  		不及格
  	@endif
  	@unless($score >= 60)
  		除非score大于等于60,否则显示不及格
  	@endunless
  	<hr>
  	@for($i=0;$i<10;$i++)
  		{{$i}}<br>
  	@endfor
  	@foreach($user as $a)
  	 	{{$a}}<br>
  	@endforeach
  	@forelse($body as $v)
  		{{$v}}<br>  //如果数组有数据显示数据
  	@empty
  	  	nobody      //如果数组为空,则显示
  	@endforelse
  	<div style="background:silver">
  		<h2 align="center">布尔教育</h2>
  		@section('right')
  		this is parent right
  		@show
  	</div>
</body>
</html>